package com.jxnu.duewang.zmly.zouZhen.model;

import android.view.View;
import android.widget.Toast;

import com.jxnu.duewang.zmly.zouZhen.widget.RxBus;

import org.greenrobot.eventbus.EventBus;

/**
 * Project Zmly
 * Author Duewang
 * Time 2016/12/9 0009
 */

public class DatabindingDiscoverSpecialColumn {

    private boolean titleFlag;
    private boolean bottomFlag;
    private String mainTitle;
    private String url;
    private String title;
    private String subTitle;
    private String footnote;

    public DatabindingDiscoverSpecialColumn(String title ,String mainTitle, String subTitle, String footnote, String url) {
        this.footnote = footnote;
        this.mainTitle = mainTitle;
        this.subTitle = subTitle;
        this.title = title;
        this.url = url;
    }

    public void clickMusic(View view){
        RxBus.getDefault().post(view);
    }

    public String getFootnote() {
        return footnote;
    }

    public void setFootnote(String footnote) {
        this.footnote = footnote;
    }

    public String getMainTitle() {
        return mainTitle;
    }

    public void setMainTitle(String mainTitle) {
        this.mainTitle = mainTitle;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isBottomFlag() {
        return bottomFlag;
    }

    public void setBottomFlag(boolean bottomFlag) {
        this.bottomFlag = bottomFlag;
    }

    public boolean isTitleFlag() {
        return titleFlag;
    }

    public void setTitleFlag(boolean titleFlag) {
        this.titleFlag = titleFlag;
    }
}
